package de.stefanocke.roo.wicket.form.formfields;

import org.springframework.roo.classpath.PhysicalTypeMetadata;
import org.springframework.roo.model.JavaType;

import de.stefanocke.roo.wicket.RooEmbed;
import de.stefanocke.roo.wicket.RooFormFields;
import de.stefanocke.roo.wicket.base.ComponentAnnotationValuesBase;

public class FormFieldsAnnotationValues extends ComponentAnnotationValuesBase {
	private static final JavaType[] DEFAULT_REQUIRED_ANNOTATIONS = new JavaType[]{new JavaType(RooEmbed.class)};

	public FormFieldsAnnotationValues(PhysicalTypeMetadata governorPhysicalTypeMetadata) {		
		super(governorPhysicalTypeMetadata, RooFormFields.class, true);
		this.requiredAnnotations = DEFAULT_REQUIRED_ANNOTATIONS;
		populate();
		
	}

}
